package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专属权益次数管理对象 usage_record
 *
 * @author ruoyi
 * @date 2024-09-29
 */
public class UsageRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 权益次数 */
    @Excel(name = "权益次数")
    private Long usageCount;

    /** 权益人姓名 */
    @Excel(name = "权益人姓名")
    private String beneficiaryName;

    /** 权益人手机号 */
    @Excel(name = "权益人手机号")
    private String beneficiaryPhone;

    /** 激活码 */
    @Excel(name = "激活码")
    private String activationCode;

    /** 专属权益id */
    @Excel(name = "专属权益id")
    private Long exclusiveBenefitId;

    /** 专属权益名称 */
    @Excel(name = "专属权益名称")
    private String exclusiveBenefitName;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUsageCount(Long usageCount)
    {
        this.usageCount = usageCount;
    }

    public Long getUsageCount()
    {
        return usageCount;
    }
    public void setBeneficiaryName(String beneficiaryName)
    {
        this.beneficiaryName = beneficiaryName;
    }

    public String getBeneficiaryName()
    {
        return beneficiaryName;
    }
    public void setBeneficiaryPhone(String beneficiaryPhone)
    {
        this.beneficiaryPhone = beneficiaryPhone;
    }

    public String getBeneficiaryPhone()
    {
        return beneficiaryPhone;
    }
    public void setActivationCode(String activationCode)
    {
        this.activationCode = activationCode;
    }

    public String getActivationCode()
    {
        return activationCode;
    }
    public void setExclusiveBenefitId(Long exclusiveBenefitId)
    {
        this.exclusiveBenefitId = exclusiveBenefitId;
    }

    public Long getExclusiveBenefitId()
    {
        return exclusiveBenefitId;
    }
    public void setExclusiveBenefitName(String exclusiveBenefitName)
    {
        this.exclusiveBenefitName = exclusiveBenefitName;
    }

    public String getExclusiveBenefitName()
    {
        return exclusiveBenefitName;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("usageCount", getUsageCount())
                .append("beneficiaryName", getBeneficiaryName())
                .append("beneficiaryPhone", getBeneficiaryPhone())
                .append("activationCode", getActivationCode())
                .append("exclusiveBenefitId", getExclusiveBenefitId())
                .append("exclusiveBenefitName", getExclusiveBenefitName())
                .append("remarks", getRemarks())
                .toString();
    }
}
